package www.Zheng;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @Title: Demo3
 * @Author 郑雨杭
 * @Package www.Zheng
 * @Date 2024/7/7 20:28
 * @description: writer(字符流输出)
 */
public class Demo3 {
    public static void main(String[] args) throws IOException {
        try(Writer writer = new FileWriter("D:\\gitee仓库\\java\\File\\test.txt",true)){
            writer.write("nihao,郑郑郑123");
        }
    }
}
